package com.yjh.admin.entity.user;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;
import io.swagger.annotations.ApiModelProperty;

/**
 * 系统角色表
 *
 * @author GuoBin
 * @date 2020-07-10 11:03:04
 */
@Data
@TableName("sys_role")
@EqualsAndHashCode(callSuper = true)
public class SysRole extends Model<SysRole> {
private static final long serialVersionUID = 1L;

    /**
   * 
   */
    @ApiModelProperty( value = "")
        @TableId
        private Integer roleId;
      /**
   * 
   */
    @ApiModelProperty( value = "")
        private String roleName;
      /**
   * 
   */
    @ApiModelProperty( value = "")
        private String roleCode;
      /**
   * 
   */
    @ApiModelProperty( value = "")
        private String roleDesc;
      /**
   * 数据权限类型
   */
    @ApiModelProperty( value = "数据权限类型")
        private String dsType;
      /**
   * 数据权限范围
   */
    @ApiModelProperty( value = "数据权限范围")
        private String dsScope;
      /**
   * 
   */
    @ApiModelProperty( value = "")
        private LocalDateTime createTime;
      /**
   * 
   */
    @ApiModelProperty( value = "")
    @TableField(fill = FieldFill.UPDATE)
    private LocalDateTime updateTime;
      /**
   * 删除标识（0-正常,1-删除）
   */
    @ApiModelProperty( value = "删除标识（0-正常,1-删除）")
    @TableLogic
    private String delFlag;
      /**
   * 
   */
    @ApiModelProperty( value = "")
        private Integer tenantId;
    
}
